package com.sgcc.dlsc.monitorredis.model.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author: 李孟帅
 * @CreateTime: 2019-09-29 14:16
 * @Description: ${Description}
 */
@Data
@ApiModel("ClusterConfig:集群配置信息对象模型")
public class ClusterConfig {
    @ApiModelProperty(value = "集群名称", required = true)
    private String clusterName;

    @ApiModelProperty(value = "集群节点，按顺序排列，前面为主节点，后面为从节点", required = true)
    private List<String> nodes;

    @ApiModelProperty(value = "每个主节点拥有的从节点个数", required = true)
    private String replicationNum;
}
